/****

    activequant - activestocks.eu

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

	
	contact  : contact@activestocks.eu
    homepage : http://www.activestocks.eu

****/
package org.activequant.dao.hibernate;

import org.activequant.core.domainmodel.account.Order;
import org.activequant.dao.IOrderDao;
import org.hibernate.SessionFactory;


/**
 * OrderDao extends DaoSupportBase&lt;Order&gt; implements IOrderDao.<br/>
 * Holds the following inherited variables:
 * <ul>
 * <li>clazz(Class&lt;Order&gt;)</li>
 * <li>hibernateTemplate(HibernateTemplate)</li>
 * </ul>
 * <br>
 * <b>History:</b><br>
 *  - [28.06.2007] Created (Erik Nijkamp)<br>
 *
 *  @author Erik Nijkamp
 */
public class OrderDao extends DaoSupportBase<Order> implements IOrderDao {
	/**
	 * Constructs an OrderDao(extends DaoSupportBase&lt;Order&gt; implements IOrderDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>Order.class</code>.
	 */
	public OrderDao() {
		super(Order.class);
	}
	/**
	 * Constructs an OrderDao(extends DaoSupportBase&lt;Order&gt; implements IOrderDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>Order.class</code>.<br/>
	 * The given sessionFactory(SessionFactory) is used to set its Hibernate SessionFactory and create/initialize the inherited hibernateTemplate(HibernateTemplate) for it.
	 * @param sessionFactory
	 */
	public OrderDao(SessionFactory sessionFactory) {
		super(Order.class, sessionFactory);
	}
}
